-
Home
-
ElasticPress
-
4.5.2
-
Code
-
Classes
- QueryIntegration
| Total Complexity |
67 |
| Dependencies |
3 |
| Dependents |
1 |
| Total lines |
541 |
| Lines of code |
235 |
| Logical lines of code |
145 |
| Comment lines |
232 |
| Methods |
10 |
| Properties |
1 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_es_posts() |
C |
32 |
28 |
99 |
| format_hits_as_posts() |
A |
42 |
10 |
55 |
| maybe_switch_to_blog() |
A |
53 |
8 |
24 |
| add_es_header() |
S |
61 |
5 |
12 |
| found_posts() |
S |
68 |
5 |
6 |
| __construct() |
S |
60 |
3 |
11 |
| maybe_restore_blog() |
S |
67 |
3 |
9 |
| format_hits_as_ids() |
S |
71 |
2 |
6 |
| format_hits_as_id_parents() |
S |
64 |
2 |
10 |
| get_switched() |
S |
82 |
1 |
3 |